import random
from random import sample

a = int(input("请输入一个数"))
pre=[]
for i in range(a):
    pre = random.sample(range(1,33),6)
    pre.sort()
    prd=random.sample(range(1,15),1)
    print(pre+prd)